package day05;

public class Test {
    public static void main(String[] args) {
        /*Gender g=Gender.男;
        //byte short int  char String enum
        switch (g){
            case 男: System.out.println("男"); break;
            case 女: System.out.println("女"); break;
            default: System.out.println("未知");
        }*/

        Season s=Season.AUTUMN;
        switch (s){
            case SPRING:
                System.out.println("春天");break;
            case SUMMER:
                System.out.println("夏天");break;
            case AUTUMN:
                System.out.println("秋天");break;
            case WINTER:
                System.out.println("冬天");break;
            default:
                System.out.println("输入有误");

        }

    }
}
